package com.hu;

import com.hu.service.AutoService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Configuration;

import java.nio.charset.Charset;

@SpringBootApplication
public class TestStartDemoApplication {
    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(TestStartDemoApplication.class, args);
        AutoService autoService = context.getBean(AutoService.class);
        System.out.println(autoService.getAddress());
    }
}
